﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using Comm100.Domain.Entity;
using Comm100.Framework.Domain.Entity;

namespace Bot.Domain.Entities
{
    [Table("t_Chatbot_Intent")]
    public class Intent: ISoftDelete
    {
        [Key]             
        public Guid Id { get; set; }
        public Guid CategoryId { get; set; }
        public string Name { get; set; }
        public string MappingToDialogflowId { get; set; }
        public bool IsDeleted { get; set; }
        [NotMapped]
        public virtual Category Category { get; set; }
        [NotMapped]
        public virtual ICollection<IntentQuestion> Questions { get; set; }
        [NotMapped]
        public virtual ICollection<IntentAnswerInChannel> AnswerInChannels { get; set; }
    }
}
